﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OnlineScheduling.DomainModel
{
    public static class StaticHelper
    {
        public static List<Instance> GiveMePrivateCopyOfInstances(List<Instance> toCopy)
        {
            List<Instance> toReturn=new List<Instance>();

            foreach (var instance in toCopy)
            {
                toReturn.Add(instance.Clone() as Instance);
            }

            return toReturn;
        }
    }
}
